package com.cm.behavior.strategy.example2;

/**
 * @author gcm
 * @date 2024/5/13 16:36
 */
public abstract class AbstractStrategy implements Strategy {
    /**
     * 类注册方法
     */
    public void register() {
        StrategyContext.registerStrategy(getClass().getSimpleName(), this);
    }
}
